<script setup>
</script>

<template>
  <div style="float: right;margin-right: 50px">
   <router-link class="dh" to="/">首页</router-link>
   <router-link class="dh" to="/add">新增问题</router-link>
   <router-link class="dh" to="/list">问题列表</router-link>
   <router-link class="dh" to="/about">关于我们</router-link>
  </div>
  <div style="clear: both;margin-top: 30px">
    <router-view/>
  </div>
</template>

<style scoped>
.dh{
  padding-bottom: 20px;
  color: black;
  font-size: 30px;
  margin-right: 50px;
}
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
